<?php

define('ROOT_PATH', dirname(dirname(dirname(dirname(__FILE__)))));
define('APP_PATH', dirname(dirname(__FILE__)));

require_once(ROOT_PATH . '/framework/library/Bootstrap.php');

try {
    $options = array('interface' => 'web',
                     'route' => 'Flight.route.frontend'
                     );
    $bootstrap =& Bootstrap::factory($options);
    $bootstrap->run();

} catch(Exception $e) {
    print_r($e);
}
